//本地存储token
export const setToken=(token)=>{
    localStorage.setItem('TOKEN',token)
}

//获取token
export const getToken=()=>{
    return localStorage.getItem('TOKEN')
}

//清除本地存储数据
export const clearToken=()=>{
    localStorage.removeItem('TOKEN');
}
